#!/bin/sh

# 
# GCC Jal toolchain                                                       
#                                                                            
# Copyright (C) 2010 Albert Faber
#                                                                            
# This program is free software; you can redistribute it and/or modify       
# it under the terms of the GNU General Public License as published by       
# the Free Software Foundation; either version 2 of the License, or          
# (at your option) any later version.                                        
#                                                                            
# This program is distributed in the hope that it will be useful,            
# but WITHOUT ANY WARRANTY; without even the implied warranty of             
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              
# GNU General Public License for more details.                               
#                                                                            
# You should have received a copy of the GNU General Public License          
# along with this program; if not, write to the Free Software                
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
# 

mkdir ../download
cd ../download
wget http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz?use_mirror=surfnet
wget ftp://ftp.gnu.org/gnu/gmp/gmp-4.3.1.tar.gz
wget http://www.mpfr.org/mpfr-2.4.1/mpfr-2.4.1.tar.bz2
wget http://ftp.gnu.org/gnu/binutils/binutils-2.20.tar.bz2
wget ftp://sources.redhat.com/pub/newlib/newlib-1.18.0.tar.gz
wget http://ftp.gnu.org/gnu/gcc/gcc-4.4.2/gcc-core-4.4.2.tar.bz2
wget http://ftp.gnu.org/gnu/gcc/gcc-4.4.2/gcc-g++-4.4.2.tar.bz2
wget http://ftp.gnu.org/gnu/gdb/gdb-7.1.tar.bz2

cd ../buildscripts 